package com.hrl.service.impl;

import com.hrl.dao.DeptDao;
import com.hrl.domain.Dept;
import com.hrl.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DeptServiceImpl implements DeptService {

    @Autowired
    private DeptDao deptDao;

    @Override
    public Dept findById(Integer dept_id) {
        return deptDao.findById(dept_id);
    }
}
